#include <QCoreApplication>
#include <iostream>
#include <cmath>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication w(argc, argv);
    //Begin5
        cout<<"length edge cube: ";
        int a; //a - length edge cube.
        cin>>a;
        cout<<"V= "<<a*a*a<<", S= "<<6*a*a<<endl<<endl;

    return w.exec();
}
